﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Bymed.SpineScan.WPF.Shared;

namespace Bymed.SpineScan.WPF.CustomizedUserControl
{
    /// <summary>
    /// Interaction logic for TestResultRegularChartUserControl.xaml
    /// </summary>
    public partial class TestResultRegularChartUserControl : UserControlBase
    {
        public readonly static DependencyProperty DisplayLineTrendProperty = DependencyProperty.Register(
            "DisplayLineTrend", typeof(bool), typeof(TestResultRegularChartUserControl), new PropertyMetadata(false));

        public readonly static DependencyProperty DisplayTestDateInsteadProperty = DependencyProperty.Register(
            "DisplayTestDateInstead", typeof(bool), typeof(TestResultRegularChartUserControl), new PropertyMetadata(false));

        public TestResultRegularChartUserControl()
        {
            InitializeComponent();
        }

        public bool DisplayLineTrend
        {
            get
            {
                return (bool)GetValue(DisplayLineTrendProperty);
            }
            set
            {
                SetValue(DisplayLineTrendProperty, value);
            }
        }

        public bool DisplayTestDateInstead
        {
            get
            {
                return (bool)GetValue(DisplayTestDateInsteadProperty);
            }
            set
            {
                SetValue(DisplayTestDateInsteadProperty, value);
            }
        }
    }
}
